package com.imooc.repository;

import com.imooc.dataobject.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 功能描述: <br>
 * (卖家信息Repository)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 17:08
 * @since: 1.8.0
 * @version: 1.0.0
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo, String> {

    /**
     * 根据openid查询卖家信息
     * @param openid
     * @return
     */
    SellerInfo findByOpenid(String openid);

}
